package com.company.pangu.sensitive.annotation;

import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;

import java.lang.annotation.*;

/**
 * 中文姓名脱敏
 *
 * @author youyoukele
 * @version 1.0
 * @date 2022/09/05 10:34
 */
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@SensitiveInfo(strategy = com.company.pangu.sensitive.strategy.SensitiveChineseName.class, pattern = "(?<=.{1}).", replaceChar = "*")
@JacksonAnnotationsInside
public @interface SensitiveChineseName {


}
